package com.woniu.common.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.woniu.common.annotation.Excel;
import com.woniu.common.core.domain.BaseEntity;

/**
 * 发票对象 bms_invoice_record
 * 
 * @author ruoyi
 * @date 2024-10-21
 */
public class BmsInvoiceRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 发票编号 */
    @Excel(name = "发票编号")
    private Integer invoiceNo;

    /** 账单ID */
    @Excel(name = "账单ID")
    private Integer billId;

    /** 金额 */
    @Excel(name = "金额")
    private BigDecimal amount;

    /** 冻结状态 */
    @Excel(name = "冻结状态")
    private Integer freezeStatus;

    /** 关联ID */
    @Excel(name = "关联ID")
    private Integer associateId;

    /** 操作员ID */
    @Excel(name = "操作员ID")
    private Integer operatorId;

    /** 结算类别ID */
    @Excel(name = "结算类别ID")
    private Integer settlementCatId;

    /** 结算记录ID */
    @Excel(name = "结算记录ID")
    private Integer settleRecordId;

    /** 项目列表 */
    @Excel(name = "项目列表")
    private String itemList;

    /** 发票类型 */
    @Excel(name = "发票类型")
    private Integer type;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setInvoiceNo(Integer invoiceNo) 
    {
        this.invoiceNo = invoiceNo;
    }

    public Integer getInvoiceNo() 
    {
        return invoiceNo;
    }
    public void setBillId(Integer billId) 
    {
        this.billId = billId;
    }

    public Integer getBillId() 
    {
        return billId;
    }
    public void setAmount(BigDecimal amount) 
    {
        this.amount = amount;
    }

    public BigDecimal getAmount() 
    {
        return amount;
    }
    public void setFreezeStatus(Integer freezeStatus) 
    {
        this.freezeStatus = freezeStatus;
    }

    public Integer getFreezeStatus() 
    {
        return freezeStatus;
    }
    public void setAssociateId(Integer associateId) 
    {
        this.associateId = associateId;
    }

    public Integer getAssociateId() 
    {
        return associateId;
    }
    public void setOperatorId(Integer operatorId) 
    {
        this.operatorId = operatorId;
    }

    public Integer getOperatorId() 
    {
        return operatorId;
    }
    public void setSettlementCatId(Integer settlementCatId) 
    {
        this.settlementCatId = settlementCatId;
    }

    public Integer getSettlementCatId() 
    {
        return settlementCatId;
    }
    public void setSettleRecordId(Integer settleRecordId) 
    {
        this.settleRecordId = settleRecordId;
    }

    public Integer getSettleRecordId() 
    {
        return settleRecordId;
    }
    public void setItemList(String itemList) 
    {
        this.itemList = itemList;
    }

    public String getItemList() 
    {
        return itemList;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createTime", getCreateTime())
            .append("invoiceNo", getInvoiceNo())
            .append("billId", getBillId())
            .append("amount", getAmount())
            .append("freezeStatus", getFreezeStatus())
            .append("associateId", getAssociateId())
            .append("operatorId", getOperatorId())
            .append("settlementCatId", getSettlementCatId())
            .append("settleRecordId", getSettleRecordId())
            .append("itemList", getItemList())
            .append("type", getType())
            .toString();
    }
}
